import numpy as np
import torch
import pandas as pd
from torch.utils.data import Dataset

label2id = {'[PAD]': 0, 'B': 1, 'I':2, 'O':3} 
id2label = {}

class BuildDataset(Dataset):
    def __init__(self, config):
        super(BuildDataset, self).__init__()
        self.dataset = []


    def __getitem__(self, index):  # 必须要重写该pytorch方法
        
        return 

    def __len__(self):
        return len(self.dataset)


def PadBatch(batch): # batch是以元组的形式构成的,shape=(batch_size, (getitem的返回值构成的元组))
    
    return 